package indi.zhifa.engine.test.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.engine.core.common.enums.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@EnumDesc(name = "性别",defaultIdx=0, defaultItem = "未知")
@RequiredArgsConstructor
public enum EGender {
    UNKNOWN(0,"未知","性别神马的都是浮云"),
    MAIL(1,"男性","帅气的小哥哥"),
    FEMALE(2,"女性","漂亮的小姐姐");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String description;
}
